package com.bdsy.system.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bdsy.system.model.Authorization;


public interface AuthorizationMapper {
	
	List<Authorization> selectAuthorization();
    
	List<Authorization> queryMenu(String id);
	
	List<Authorization> selectCheckedAuthByRole(String roleId);
	
	List<Map> selectAuth();
	
	List<Map> selectAuthParnet();
	
	int insert(Authorization authorization);
	
	int updateByPrimaryKeySelective(Authorization authorization);
	
	int deleteAuth(@Param(value = "pIds")List<String> pIds);
	
	List<Authorization> selectAuthType();
	
	List<Authorization> selectAuthList();
}